#
# THIS FILE IS GENERATED, PLEASE DO NOT EDIT.
#

# Copyright 2023 Flant JSC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: 'Needs-triage stale issues'
on:
  schedule:
    - cron: '30 9 * * *'

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/stale@v7
      with:
        repo-token: ${{secrets.BOATSWAIN_GITHUB_TOKEN}}
        stale-issue-message: |
          This issue has been automatically put in the triage queue because it has not had
          recent activity. The team will reconsider the status of this issue. Thank you
          for your contributions.
        close-issue-message: |
          This is a bug, because it supposed to not to close issues.
        days-before-issue-stale: 120
        days-before-issue-close: -1
        stale-issue-label: "status/needs-triage"
        remove-issue-stale-when-updated: false
        labels-to-remove-when-unstale: ""
